//
//  NSNumber-currency.h
//  iContractor
//
//  Created by Jeff LaMarche on 1/15/09.
//  Copyright 2009 Jeff LaMarche Consulting. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSNumber (currency)
+ (id)numberWithCurrencyString:(NSString *)currencyString;
- (NSString *)currencyString;
- (BOOL)isEqualToString:(NSString *)compare;
- (NSComparisonResult)currencyCompare:(NSString *)compare;
- (NSComparisonResult)reverseNumericCompare:(NSNumber *)compare;
@end

@interface NSString (currency)
- (NSString *)currencyString;
@end

@interface NSNull (currency)
- (float)floatValue;
- (NSString *)currencyString;
- (double)doubleValue;
@end